package top.itpath.admin.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zhaomengru
 * create by  2023/10/10 - 11:33
 * token信息
 */
@Getter
@Setter
@NoArgsConstructor
public class TokenInfo implements Serializable {

    public static final String BLOCK_TOKEN = "block_token";

    public TokenInfo(String token, String refreshToken) {
        this.token = token;
        this.refreshToken = refreshToken;
    }

    @Serial
    private static final long serialVersionUID = 1L;

    private String token;

    private String refreshToken;
}
